package cn.hist.hfp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class BaseController {

    @GetMapping
    public String index() {
        return "index";
    }

    @GetMapping("/index")
    public String index2() {
        return "index";
    }

    @GetMapping("/manage")
    public String managementIndex() {
        return "management/manager_index";
    }
    @GetMapping("/manager_index")
    public String managementIndex2() {
        return "management/manager_index";
    }

    @GetMapping("/manager_login")
    public String managerLogin() {
        return "management/manager_login";
    }
}
